<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.typehandlers.ctypeparser.CType</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.typehandlers-module.html">Package&nbsp;typehandlers</a> ::
        <a href="pybindgen.typehandlers.ctypeparser-module.html">Package&nbsp;ctypeparser</a> ::
        Class&nbsp;CType
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.typehandlers.ctypeparser.CType-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class CType</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_100" name="uml_class_diagram_for_pybindge_100">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#tokens" title="pybindgen.typehandlers.ctypeparser.CType.tokens" alt="" coords="17,28,233,47"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,49,233,68"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#clone" title="pybindgen.typehandlers.ctypeparser.CType.clone" alt="" coords="17,68,233,87"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#reorder_modifiers" title="Reoder const modifiers, as rightward as possible without changing the &#160;meaning of the type." alt="" coords="17,87,233,105"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#remove_modifiers" title="Remove modifiers from the toplevel type." alt="" coords="17,105,233,124"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#remove_outer_modifier" title="Remove the given modifier from the type, but only from the outer part and &#160;only until a first * or &amp; is found, from right to left." alt="" coords="17,124,233,143"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__str__" title="str(x)" alt="" coords="17,143,233,161"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html" title="A CType represents a C/C++ type as a list of items." alt="" coords="16,11,235,163"/>
</map>
  <img src="uml_class_diagram_for_pybindge_100.gif" alt='' usemap="#uml_class_diagram_for_pybindge_100" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>A <a href="pybindgen.typehandlers.ctypeparser.CType-class.html" 
  class="link">CType</a> represents a C/C++ type as a list of items.  
  Generally the items are <a 
  href="pybindgen.typehandlers.ctypeparser.tokenizer.Token-class.html" 
  class="link">Token</a>s, but some times they can be other <a 
  href="pybindgen.typehandlers.ctypeparser.CType-class.html" 
  class="link">CType</a>s (arguments of templated types, function pointer 
  name and parameters).</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.ctypeparser.CType-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tokens</span>=<span class="summary-sig-default">None</span>)</span><br />
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___72-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___72-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___72" name="call_graph_for___init___72">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__init__" title="__init__()" alt="" coords="295,61,399,93"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#clone" title="clone()" alt="" coords="84,5,167,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.TypeTraits-class.html#__init__" title="TypeTraits.__init__()" alt="" coords="24,61,227,93"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser-module.html#_parse_type_recursive" title="_parse_type_recursive()" alt="" coords="5,117,245,149"/>
</map>
  <img src="call_graph_for___init___72.gif" alt='' usemap="#call_graph_for___init___72" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="clone"></a><span class="summary-sig-name">clone</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.clone">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_clone_5-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_clone_5-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_clone_5" name="call_graph_for_clone_5">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__init__" title="__init__()" alt="" coords="393,5,497,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#clone" title="clone()" alt="" coords="260,5,343,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.TypeTraits-class.html#__init__" title="TypeTraits.__init__()" alt="" coords="7,5,209,37"/>
</map>
  <img src="call_graph_for_clone_5.gif" alt='' usemap="#call_graph_for_clone_5" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.ctypeparser.CType-class.html#reorder_modifiers" class="summary-sig-name">reorder_modifiers</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Reoder const modifiers, as rightward as possible without changing the
      meaning of the type.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.reorder_modifiers">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_reorder_modifie-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_reorder_modifie-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_reorder_modifie" name="call_graph_for_reorder_modifie">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#_reorder_modifier" title="_reorder_modifier()" alt="" coords="539,5,736,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#reorder_modifiers" title="reorder_modifiers()" alt="" coords="295,5,489,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser-module.html#_parse_type_recursive" title="_parse_type_recursive()" alt="" coords="5,5,245,37"/>
</map>
  <img src="call_graph_for_reorder_modifie.gif" alt='' usemap="#call_graph_for_reorder_modifie" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.ctypeparser.CType-class.html#remove_modifiers" class="summary-sig-name">remove_modifiers</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Remove modifiers from the toplevel type.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.remove_modifiers">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_remove_modifier-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_remove_modifier-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_remove_modifier" name="call_graph_for_remove_modifier">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#_remove_modifier" title="_remove_modifier()" alt="" coords="505,5,703,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#remove_modifiers" title="remove_modifiers()" alt="" coords="259,5,456,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.TypeTraits-class.html#__init__" title="TypeTraits.__init__()" alt="" coords="7,5,209,37"/>
</map>
  <img src="call_graph_for_remove_modifier.gif" alt='' usemap="#call_graph_for_remove_modifier" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="remove_outer_modifier"></a><span class="summary-sig-name">remove_outer_modifier</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">modifier</span>)</span><br />
      Remove the given modifier from the type, but only from the outer part
      and only until a first * or &amp; is found, from right to left.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.remove_outer_modifier">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_remove_outer_mo-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_remove_outer_mo-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_remove_outer_mo" name="call_graph_for_remove_outer_mo">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#remove_outer_modifier" title="remove_outer_modifier()" alt="" coords="259,5,507,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.TypeTraits-class.html#__init__" title="TypeTraits.__init__()" alt="" coords="7,5,209,37"/>
</map>
  <img src="call_graph_for_remove_outer_mo.gif" alt='' usemap="#call_graph_for_remove_outer_mo" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.ctypeparser.CType-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      str(x)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.__str__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___str___3-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___str___3-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___str___3" name="call_graph_for___str___3">
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_class_methods" title="gccxmlparser.ModuleParser._scan_class_methods()" alt="" coords="5,5,485,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__str__" title="__str__()" alt="" coords="535,117,633,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#__init__" title="base.TypeHandler.__init__()" alt="" coords="109,61,381,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#_get_ctype_no_const" title="base.TypeHandler._get_ctype_no_const()" alt="" coords="49,117,441,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeMatcher-class.html#lookup" title="base.TypeMatcher.lookup()" alt="" coords="113,173,377,205"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser-module.html#normalize_type_string" title="normalize_type_string()" alt="" coords="125,229,365,261"/>
</map>
  <img src="call_graph_for___str___3.gif" alt='' usemap="#call_graph_for___str___3" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="tokens"></a><span class="summary-name">tokens</span>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">tokens</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___72-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___72-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___72" name="call_graph_for___init___72">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__init__" title="__init__()" alt="" coords="295,61,399,93"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#clone" title="clone()" alt="" coords="84,5,167,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.TypeTraits-class.html#__init__" title="TypeTraits.__init__()" alt="" coords="24,61,227,93"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser-module.html#_parse_type_recursive" title="_parse_type_recursive()" alt="" coords="5,117,245,149"/>
</map>
  <img src="call_graph_for___init___72.gif" alt='' usemap="#call_graph_for___init___72" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>x.__init__(...) initializes x; see x.__class__.__doc__ for 
  signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="reorder_modifiers"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">reorder_modifiers</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.reorder_modifiers">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_reorder_modifie-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_reorder_modifie-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_reorder_modifie" name="call_graph_for_reorder_modifie">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#_reorder_modifier" title="_reorder_modifier()" alt="" coords="539,5,736,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#reorder_modifiers" title="reorder_modifiers()" alt="" coords="295,5,489,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser-module.html#_parse_type_recursive" title="_parse_type_recursive()" alt="" coords="5,5,245,37"/>
</map>
  <img src="call_graph_for_reorder_modifie.gif" alt='' usemap="#call_graph_for_reorder_modifie" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Reoder const modifiers, as rightward as possible without changing the 
  meaning of the type.  I.e., move modifiers to the right until a * or 
  &amp; is found.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="remove_modifiers"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">remove_modifiers</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.remove_modifiers">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_remove_modifier-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_remove_modifier-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_remove_modifier" name="call_graph_for_remove_modifier">
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#_remove_modifier" title="_remove_modifier()" alt="" coords="505,5,703,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#remove_modifiers" title="remove_modifiers()" alt="" coords="259,5,456,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.TypeTraits-class.html#__init__" title="TypeTraits.__init__()" alt="" coords="7,5,209,37"/>
</map>
  <img src="call_graph_for_remove_modifier.gif" alt='' usemap="#call_graph_for_remove_modifier" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Remove modifiers from the toplevel type.  Return a set of modifiers 
  removed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="__str__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Informal representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.ctypeparser-pysrc.html#CType.__str__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___str___3-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___str___3-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___str___3" name="call_graph_for___str___3">
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_class_methods" title="gccxmlparser.ModuleParser._scan_class_methods()" alt="" coords="5,5,485,37"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser.CType-class.html#__str__" title="__str__()" alt="" coords="535,117,633,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#__init__" title="base.TypeHandler.__init__()" alt="" coords="109,61,381,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#_get_ctype_no_const" title="base.TypeHandler._get_ctype_no_const()" alt="" coords="49,117,441,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeMatcher-class.html#lookup" title="base.TypeMatcher.lookup()" alt="" coords="113,173,377,205"/>
<area shape="rect" href="pybindgen.typehandlers.ctypeparser-module.html#normalize_type_string" title="normalize_type_string()" alt="" coords="125,229,365,261"/>
</map>
  <img src="call_graph_for___str___3.gif" alt='' usemap="#call_graph_for___str___3" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>str(x)</p>
  <dl class="fields">
    <dt>Overrides:
        object.__str__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:34 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
